<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var myMap1 = new Map ([["key1", "value1"], ["key2", "value2"]]);
        var myMap2 = new Map(myMap1);

        console.log(myMap2);
        //打印false map对象构造函数生成实例，迭代出新的对象
    </script>
</body>
</html>